package com.cwl.pattern.备忘录模式;

/**
 * @program: pattern
 * @description: 管理者
 * @author: ChenWenLong
 * @create: 2019-07-10 12:53
 **/
public class Caretaker {

    private Memento memento;

    public void setMemento(Memento m) {
        memento=m;
    }

    public Memento getMemento() {
        return memento;
    }
}
